package 异常;

import java.util.Scanner;

public class Test {
    public static void main(String[] args) {
        int  i=0;
        int  i1=0;
        try{
            Scanner scanner = new Scanner(System.in);
            System.out.println("请输入第一个数：");
            i = scanner.nextInt();
            System.out.println("请输入第二个数：");
             i1 = scanner.nextInt();

        }catch (Exception e){
            e.printStackTrace();
        }finally {
            int result=i/i1;
            System.out.println(+result);
        }

    }
}
